package com.wskj.insuranceweb.reporter.service;

import com.wskj.insuranceweb.reporter.mapper.ClientMapper;
import com.wskj.insuranceweb.reporter.pojo.Client;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ClientServiceImpl implements ClientService {
    @Autowired
    private ClientMapper mapper;

    @Override
    public Client findClient(String id) {
        return mapper.findClient(id);
    }

    @Override
    public void addClient(Client client) {
        mapper.addClient(client);
    }


}
